<form method="POST" action="/user/login">
    {!! csrf_field() !!}
    @if (count($errors) > 0)
      <div class="mws-form-message error">
            <ul>
              @foreach ($errors->all() as $error)
                  <li>{{ $error }}</li>
              @endforeach
                
            </ul>
        </div>
    @endif
    <h2>{{Session::get('info')}}</h2>
    <div>
        用户名:
        <input type="text" name="username" value="{{ old('username') }}">
    </div>

    <div>
        密　码:
        <input type="password" name="password" id="password">
    </div>

    <div>
        
        <input type="checkbox" name="remember"> 记住我
    </div>

    <div>
        <button type="submit">登录</button>
    </div>
</form>